package com.fishery.logistics.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fishery.logistics.entity.Station;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author run
 * @since 2021-01-23
 */
public interface StationService extends IService<Station> {

    public boolean createStation(Station station);

    public boolean updateStation(Station station);

    public boolean deleteStation(String stationId);

    public List<Station> searchStationOfBase(String baseId);

    public IPage<Station> searchStationOfBase(String baseId,Integer page,Integer size);
}
